.nav {
    width: 100%;
    height: 72px;
    box-shadow: 0 2px 16px 0 rgba(220, 220, 220, .5);
}

a {
    text-decoration: none;
}

.nav-box {
    width: 1200px;
    height: 100%;
    margin: 0 auto;
    position: relative;
}

.nav-left {
    float: left;
}

.nav-left .logo-img {
    width: 92px;
    height: 42px;
    float: left;
    margin-top: 15px;
    margin-left: 10px;
}

.nav-location {
    height: 100%;
    float: left;
    position: relative;
    margin-left: 54px;
    line-height: 72px;
    cursor: pointer;
}

.nav-location > img:nth-child(1) {
    width: 14px;
    display: inline-block;
    vertical-align: middle;
}

.nav-location > span {
    max-width: 65px;
    font-size: 16px;
    color: #2d2d2d;
    display: inline-block;
    vertical-align: middle;
    margin-left: 2px;
    margin-right: 2px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.nav-location > img:nth-child(3) {
    width: 12px;
    display: inline-block;
    vertical-align: middle;
}

/*悬停nav导航栏的location地址出现所有城市*/
.nav-location:hover > .nav-city {
    display: block;
}

/*city城市隐藏部分*/
.nav-location > .nav-city {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
}

.nav-city > .city-box {
    width: 626px;
    z-index: 15;
    position: relative;
    left: -115px;
    top: 0;
    margin-top: 60px;
    padding: 21px;
    background: #FFF;
    border: 1px solid #e1e1e1;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .05);
    border-radius: 10px;
    line-height: 72px;
}

.nav-city > .city-box:after {
    position: absolute;
    display: inline-block;
    top: 0;
    left: 140px;
    margin-top: -5.5px;
    width: 0;
    height: 0;
    content: '';
    border-style: solid;
    border-width: 5px;
    border-color: #fff #fff transparent transparent;
    transform: rotate(-45deg);
    box-shadow: 1px -1px 1px #ccc;
}

/*当前城市*/
.city-box > .now-city {
    line-height: 25px;
}

.now-city > .select-city {
    color: #FF1268 !important;
    background-color: #fff4f8;
    padding: 0 10px;
}

.city-box .title-city {
    width: 86px;
}

.city-box .title-city,
.city-box .name-city {
    display: inline-block;
    margin-right: 15px;
    vertical-align: top;
    font-size: 16px;
    color: #111;
    letter-spacing: 1px;
    float: left;
}

.city-box .name-city:hover {
    color: #FF1268;
}

/*热门城市*/
.city-box > .hot-city {
    line-height: 25px;
    margin-top: 40px;
    padding-top: 15px;
    border-top: 1px solid #EEE;
}

.city-box .list-more {
    width: 525px;
    display: inline-block;
    line-height: 29px;
    margin-top: -3px;
}

/*其他城市*/
.city-box > .other-city {
    line-height: 25px;
    padding-top: 15px;
    border-top: 1px solid #EEE;
    margin-top: 15px
}

/*nav导航栏的tabs标签*/
.nav-tabs {
    max-width: 220px;
    height: 100%;
    float: left;
    line-height: 72px;
    margin-left: 40px;
}

.nav-tabs > a {
    display: inline-block;
    font-size: 16px;
    margin-right: 18px;
    text-decoration: none;
    vertical-align: middle;
    color: #000;
    cursor: pointer;
}

.nav-tabs > .active, a:hover {
    color: #FF1268;
}

.nav-right {
    float: right;
}

.nav-right > .nav-userinfo {
    height: 100%;
    display: inline-block;
    line-height: 72px;
    float: right;
    min-width: 55px;
}

.nav-userinfo > .nav-login {
    height: 100%;
    display: inline-block;
    line-height: 72px;
    cursor: pointer;
    position: relative;
    margin-left: 20px;
}

.nav-login .login-span:hover,
.nav-download > .login-span:hover {
    color: #FF1268;
}

.nav-userinfo .icon-img {
    width: 26px;
    display: inline-block;
    /*margin-right: 4px;*/
    vertical-align: middle;
}

.nav-userinfo .login-span {
    display: inline-block;
    vertical-align: middle;
    color: #111;
    font-size: 16px;
}

.nav-userinfo .login-tabs {
    width: 133px;
    display: none;
    position: absolute;
    left: 50%;
    margin-left: -67px;
    top: 50px;
    z-index: 999;
}

.nav-login:hover > .login-tabs {
    display: block;
}

.login-tabs > .login-list {
    width: 100%;
    position: relative;
    margin-top: 10px;
    background: #fff;
    border: 1px solid #f4f4f4;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .05);
    border-radius: 2px;
}

.login-list > .list-tab {
    width: 100%;
    height: 50px;
    display: block;
    line-height: 50px;
    font-size: 14px;
    color: #111;
    letter-spacing: 1px;
    text-align: center;
    border-bottom: 1px solid #f2f2f2;
}

.login-list > .list-tab:hover {
    color: #FF1268;
    background-color: #fff4f8;
}

.login-tabs > .login-list:after,
.nav-download > .nav-qrcode:after {
    position: absolute;
    display: inline-block;
    top: 0;
    left: 50%;
    margin-top: -5.5px;
    width: 0;
    margin-left: -3px;
    height: 0;
    content: '';
    border-style: solid;
    border-width: 5px;
    border-color: #fff #fff transparent transparent;
    transform: rotate(-45deg);
    box-shadow: 1px -1px 1px #ccc;
}

.nav-userinfo > .nav-download {
    height: 100%;
    display: inline-block;
    line-height: 72px;
    cursor: pointer;
    position: relative;
    margin-left: 20px;
    margin-right: 10px;
}

.nav-download > .nav-qrcode {
    width: 80px;
    height: 80px;
    display: none;
    position: absolute;
    top: 60px;
    left: -12px;
    z-index: 999;
    background: #fff;
    padding: 5px;
    border-radius: 5px;
    box-shadow: 1px -1px 1px #ccc;
}

/*代码相同提升到login-list一起*/
/*.nav-qrcode:after {
    position: absolute;
    display: inline-block;
    top: 0;
    left: 50%;
    margin-top: -5.5px;
    width: 0;
    margin-left: -3px;
    height: 0;
    content: '';
    border-style: solid;
    border-width: 5px;
    border-color: #fff #fff transparent transparent;
    transform: rotate(-45deg);
    box-shadow: 1px -1px 1px #ccc;
}*/


.nav-qrcode > img {
    width: 100%;
}

.nav-download:hover > .nav-qrcode {
    display: block;
}

/*搜索框部分*/
.nav-right > .nav-search {
    width: 400px;
    height: 46px;
    margin-top: 12px;
    margin-right: 20px;
    line-height: 46px;
    float: right;
    position: relative;
}

.nav-search > img {
    width: 17px;
    position: absolute;
    left: 22px;
    top: 15px;
    z-index: 11;
}

.nav-search .input-search {
    width: 253px;
    height: 44px;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 10;
    font-size: 16px;
    outline: 0;
    -webkit-appearance: none;
    padding: 0 10px 0 54px;
    border-top-left-radius: 46px;
    border-bottom-left-radius: 46px;
    border: 1px solid #f8f8f8;
    background-color: #f8f8f8;
    border-right-color: #FF1268;
    box-sizing: content-box;
}

.nav-search .input-search:focus {
    border-color: #FF1268;
}

.nav-search > .input-button {
    width: 82px;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    background: #FF1268;
    line-height: 46px;
    font-size: 16px;
    text-align: center;
    color: #FFF;
    border-radius: 0 27px 27px 0;
    z-index: 11;
    letter-spacing: 4px;
    cursor: pointer;
    border: none;
}











